import request from '/@/utils/http/request'
enum Api {
    Login = '/user/login',
    Logout = '/user/logout',
    GetUserInfo = '/getUserInfo',
    GetPermCode = '/getPermCode',
}
//登录
export function loginApi(data) {
    return request({
        url: Api.Login,
        method: 'post',
        data: data
    })
}